package com.feng.cloud.auth.mapper;

import com.feng.cloud.system.entity.SystemUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName UserMapper
 * @Description TODO
 * @Author Better Feng
 * @Date 2019/12/5 18:39
 * @Version 1.0
 **/
public interface SystemUserMapper {
    SystemUser findByName(@Param("username") String username);

    List<String> findPermissionStrListByUserId(@Param("userId")Long userId);
}
